package com.cgydu.dao;

import com.cgydu.entity.Product;

import java.sql.SQLException;
import java.util.List;

/**
 * projectName: day25_store
 * author: CGY
 * time: 2020/8/29 10:38
 * description:
 */
public interface ProductDao {
    List<Product> queryProductByTid(String tid,int currentPage,int pageSize)throws SQLException;

    long queryCountByTid(String tid)throws SQLException;

    Product selectProductByPid(String pid) throws SQLException;
}
